-- GENERATED SPELL FOR [Unu'pe Spearman] --


function spell0_27189(pUnit, Event) --@Throw,n/a--
pUnit:FullCastSpellOnTarget(38556,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_27189', 1500, 1)
end

function Sorts_27189(pUnit, Event)
local choix_sorts_27189 = math.random(0, 0)
if choix_sorts_27189 == 0 then
pUnit:RegisterEvent('spell0_27189', 1, 1)
end
end

function mob27189_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_27189', math.random(1500, 3000), 1)
end

function mob27189_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob27189_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob27189_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(27189, 1, 'mob27189_Action')
RegisterUnitEvent(27189, 2, 'mob27189_Leave')
RegisterUnitEvent(27189, 3, 'mob27189_Kill')
RegisterUnitEvent(27189, 4, 'mob27189_Die')
